package oop7;

public class TestTeacher {

    public static void main(String[] args) {
       // Teacher teacher = new Teacher("男");
        Teacher teacher = new Teacher();
        teacher.setId("0001");
        teacher.setGender("男");
        teacher.setXueke("java");
        System.out.println(teacher.getId());
        System.out.println(teacher.getGender());
        System.out.println(teacher.getXueke());
        Teacher teacher1 = new Teacher("0002", "女", "前端");
        System.out.println(teacher1.getId());
        System.out.println(teacher1.getGender());
        System.out.println(teacher1.getXueke());



    }
}
